﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NanjingbeiRailwayStation.Data.ClickHouse.Models
{
    /// <summary>
    /// 当前状态 
    /// </summary>
    public class MeterCurrentState
    {
        /// <summary>
        /// 
        /// </summary>
        public MeterCurrentState()
        {
                
        }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string imei { get; set; }=string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public DateTime eventTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; } = string.Empty;

        /// <summary>
        /// 安装位置
        /// </summary>
        public string InstallationLocation { get; set; } = string.Empty;
        /// <summary>
        /// 产品型号
        /// </summary>
        public string DeviceMode { get; set; } = string.Empty;

        /// <summary>
        /// 分类
        /// </summary>
        public string DeviceClass { get; set; } = string.Empty;

        /// <summary>
        /// 电压
        /// </summary>
        public double Real_UA { get; set; }
        /// <summary>
        /// 电压
        /// </summary>

        public double Real_UB { get; set; }
        /// <summary>
        /// 电压
        /// </summary>
        public double Real_UC { get; set; }
        /// <summary>
        /// 电流
        /// </summary>
        public double Real_IA { get; set; }
        /// <summary>
        /// 电流
        /// </summary>
        public double Real_IB { get; set; }
        /// <summary>
        /// 电流
        /// </summary>
        public double Real_IC { get; set; }
        /// <summary>
        ///  温度
        /// </summary>
        public double Real_TA { get; set; }
        /// <summary>
        ///  温度
        /// </summary>
        public double Real_TB { get; set; }
        /// <summary>
        ///  温度
        /// </summary>
        public double Real_TC { get; set; }
        /// <summary>
        ///  温度
        /// </summary>
        public double Real_TN { get; set; }
        /// <summary>
        ///  漏电量
        /// </summary>
        public double Real_LD { get; set; }
        /// <summary>
        /// 电压频率
        /// </summary>
        public double electric_fr { get; set; }
        /// <summary>
        /// 有功功率
        /// </summary>
        public double YGGL_P { get; set; }
        /// <summary>
        /// 有功功率
        /// </summary>
        public double YGGL_PA { get; set; }
        /// <summary>
        /// 有功功率
        /// </summary>
        public double YGGL_PB { get; set; }
        /// <summary>
        /// 有功功率
        /// </summary>
        public double YGGL_PC { get; set; }
        /// <summary>
        /// 无功功率
        /// </summary>
        public double WGGL_Q { get; set; }
        /// <summary>
        /// 无功功率
        /// </summary>
        public double WGGL_QA { get; set; }
        /// <summary>
        /// 无功功率
        /// </summary>
        public double WGGL_QB { get; set; }
        /// <summary>
        /// 无功功率
        /// </summary>
        public double WGGL_QC { get; set; }
        /// <summary>
        ///  总电量 ActiveEnergyImportInPhaseL
        /// </summary>
        public double ActiveEnergyImportInPhaseL { get; set; }
        /// <summary>
        ///  总电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL1 { get; set; }
        /// <summary>
        ///  总电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL2 { get; set; }
        /// <summary>
        ///  总电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL3 { get; set; }
        /// <summary>
        /// 当天电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL_day { get; set; }
        /// <summary>
        /// 当天电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL1_day { get; set; }
        /// <summary>
        /// 当天电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL2_day { get; set; }

        /// <summary>
        /// 当天电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL3_day { get; set; }


        /// <summary>
        /// 当月电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL_month { get; set; }
        /// <summary>
        /// 当月电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL1_month { get; set; }
        /// <summary>
        /// 当月电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL2_month { get; set; }
        /// <summary>
        /// 当月电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL3_month { get; set; }

        /// <summary>
        /// 当年电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL_year { get; set; }
        /// <summary>
        /// 当年电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL1_year { get; set; }
        /// <summary>
        /// 当年电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL2_year { get; set; }
        /// <summary>
        /// 当年电量
        /// </summary>
        public double ActiveEnergyImportInPhaseL3_year { get; set; }
 




    }
}
